All sound files begin with a Form Chunk. This chunk defines the type and size of the file and can be thought of as enclosing the remaining chunks in the sound file. The ContainerChunk data type defines a Form Chunk.
TYPE ContainerChunk =
RECORD
ckID: ID; {'FORM'}
ckSize: LongInt; {number of bytes of data}
formType: ID; {type of file}
END;
The size of an entire sound file is ckSize+8 , because the ckSize field incorporates the size of all chunks of the sound file, except the sizes of the ckID and ckSize fields of the Form Chunk itself.
| Previous | Chapter contents | Chapter top | Section top | Next |